<?php
/**
 * wap 2.0 特卖会 服务/帮助中心
 */

if (!defined('IN_SEXMALL')){
	die('Hacking attempt');
}

include 'canal.php';

$service = !empty($_GET['service']) ? trim($_GET['service']) : 'online';
$step = empty($_GET['step']) ? 'iPhone' : trim($_GET['step']);

/* OMNITURE 统计  */
if ($service == 'download')
{
	include 'omniture/download.php';
}
else
{
	$pageName = '服务帮助中心';
	include 'omniture/other.php';
}

$smarty->assign('service', $service);
$smarty->assign('step', $step);

if (is_file(THEME_DIR . UI . '/service_' . $service . '.dwt')){
	$dwt = 'service_' . $service . '.dwt';
}else{
	wap_header('Location:index.html');exit;
}

$smarty->assign('title', '服务帮助中心');
$smarty->assign('step', $step);

$smarty->display($dwt);